package com.liujit.upms.domain.query;

import com.liujit.common.domain.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description 系统日志查询条件
 * @Author liujun
 * @Date 2021-06-23 22:53:29
 */
@Data
@ApiModel(value = "SysLogQuery", description = "系统日志查询条件")
public class SysLogQuery extends PageQuery {

    @ApiModelProperty(value = "客户端id")
    private String clientId;

    @ApiModelProperty(value = "服务id")
    private String serviceId;

    @ApiModelProperty(value = "操作人账号")
    private String account;

    @ApiModelProperty(value = "操作描述")
    private String description;

    @ApiModelProperty(value = "唯一访问码")
    private String visitCode;

    @ApiModelProperty(value = "操作ip")
    private String ip;

    @ApiModelProperty(value = "操作地点")
    private String location;

    @ApiModelProperty(value = "请求地址")
    private String reqUrl;

    @ApiModelProperty(value = "响应Code")
    private Integer respCode;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

}